</div>
<script type="text/javascript">
//    $(document).ready(function() {
//        $jScroller.add(".content",".news-col","down",1,1);
//        $jScroller.start();
//    });
</script>
<div class="right-col">
    <div class="right-box green box">
        <div class="title">
            <div>Danh mục sản phẩm</div>
        </div>
        <div class="content">
            <?php if (count($product) != 0): ?>
                <ul class="naviPro">
                    <?php foreach ($product as $p): ?>
                        <li>
                            <a href="<?php echo site_url($this->mycommon->convertToAlias($p['title']) . '_' . $p['id']) ?>"><?php echo $p['title'] ?></a>
                        </li>
                    <?php endforeach; ?>
                </ul>
            <?php endif; ?>
        </div>
    </div>
    <?php if ($dataCol): ?>
        <?php foreach ($dataCol as $k => $v): ?>
            <div class="right-box green box">
                <div class="title">
                    <div><?php echo $v['title'] ?></div>
                </div>
                <div class="content">
                    <?php if (count($v['post']) != 0): ?>
                    <!--<marquee behavior="scroll" direction="down" scrollamount="2" height="200" width="250">-->
                        <ul class="news-col">
                            <?php foreach ($v['post'] as $_v): ?>
                                <li>
                                    <a href="<?php echo site_url($this->mycommon->convertToAlias($_v['title']) . '_' . $_v['id']) ?>">
                                        <img width="60" height="40" src="<?php echo $this->mycommon->renderThumbImage($_v['link_img'], 60, 40); ?>" alt="<?php echo $_v['title'] ?>"/>
                                    </a>
                                    <a href="<?php echo site_url($this->mycommon->convertToAlias($_v['title']) . '_' . $_v['id']) ?>"><?php echo $_v['title'] ?></a>
                                    <?php if($v['type'] == 1): ?>
                                    <p style="float:left">Liên hệ : <span style="color:#78B02B;font-weight: bold"><?php echo $_v['phone'] ?></span></p>
                                    <?php endif; ?>
                                </li>
                            <?php endforeach; ?>
                        </ul>
                    <!--</marquee>-->
                    <?php endif; ?>
                </div>
            </div>
        <?php endforeach; ?>
    <?php endif; ?>

    <!--    <div class="right-box green box">
            <div class="title">
                <div>Ý kiến khách hàng</div>
            </div>
        </div>-->

    <div class="rigth-box green box">
        <div class="title">
            <div>Thống kê truy cập</div>
        </div>
        <div class="content">
            <p>
                Số lượt truy cập : 
                <img alt="Website counter" hspace="0" vspace="0" border="0" src="http://legitfreecounters.com/6111362-11DD24F9B0BF49D11024E5625723C39D/counter.img?theme=1&digits=5&siteId=6"/>
            </p>
        </div>
    </div>
    <div class="clear-fix"></div>
</div>

<div class="clear"></div>
</div>
<!-- End outer wrapper -->

</div>